package com.meituan.sdk.model.ddzhkh.merchantreceipt.merchantreceiptQueryQueryreceiptstatus;

import com.meituan.sdk.annotations.ApiMeta;
import com.google.gson.reflect.TypeToken;
import javax.validation.constraints.NotBlank;
import java.lang.reflect.Type;
import com.meituan.sdk.internal.utils.JsonUtil;
import com.google.gson.annotations.SerializedName;
import com.meituan.sdk.MeituanResponse;
import com.meituan.sdk.MeituanRequest;

/**
* 商家券查询券状态
* This file was automatically generated.
*/
@ApiMeta(
    path = "/ddzhkh/merchantreceipt/query/queryreceiptstatus",
    businessId = 59,
    apiVersion = "10000",
    apiName = "merchantreceipt_query_queryreceiptstatus",
    needAuth = true
)
public class MerchantreceiptQueryQueryreceiptstatusRequest implements MeituanRequest<MerchantreceiptQueryQueryreceiptstatusResponse> {
    /**
    * <p data-diff-id="ct-diff-id-710030e8-4d97-438c-a664-fb67fd54ac3a">订单id</p><p data-diff-id="ct-diff-id-04bcc661-6dcb-4d32-ab4a-e70165b56fac"><br></p>
    */
    @NotBlank(message = "orderId不能为空")
    @SerializedName("orderId")
    private String orderId;
    /**
    * <p data-diff-id="ct-diff-id-3c22fcfa-a9f6-4362-95ce-5e7d03d7bddd">第三方团单id，同其他接口中的app_deal_id</p><p data-diff-id="ct-diff-id-22496ad0-dde9-4ba2-9272-3e82e3ef92f2"><br></p>
    */
    @NotBlank(message = "dealId不能为空")
    @SerializedName("dealId")
    private String dealId;
    /**
    * <p data-diff-id="ct-diff-id-964380d3-7aec-4ff7-a9f5-a061f4b87e83">券码，逗号分隔</p><p data-diff-id="ct-diff-id-c888bc73-e046-4b11-b87a-c54adce2d799"><br></p>
    */
    @NotBlank(message = "serialNumberList不能为空")
    @SerializedName("serialNumberList")
    private String serialNumberList;

    public String getOrderId() {
        return orderId;
    }
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getDealId() {
        return dealId;
    }
    public void setDealId(String dealId) {
        this.dealId = dealId;
    }
    public String getSerialNumberList() {
        return serialNumberList;
    }
    public void setSerialNumberList(String serialNumberList) {
        this.serialNumberList = serialNumberList;
    }


    @Override
    public MeituanResponse<MerchantreceiptQueryQueryreceiptstatusResponse> deserializeResponse(String response) {
        Type type = new TypeToken<MeituanResponse<MerchantreceiptQueryQueryreceiptstatusResponse>>(){}.getType();
        return JsonUtil.fromJson(response, type);
    }
    @Override
    public String serializeToJson() {
        return JsonUtil.toJson(this);
    }


    @Override
    public String toString() {
        return "MerchantreceiptQueryQueryreceiptstatusRequest{" + "orderId=" + orderId + "," + "dealId=" + dealId + "," + "serialNumberList=" + serialNumberList + "}";
    }
}
